Skip to content

Resolver context type - subtype can be optional#566

Open
vejrj wants to merge 4 commits intomainfrom
jvejr/resolver-context-type-optional-subtype
Open

Resolver context type - subtype can be optional#566
vejrj wants to merge 4 commits intomainfrom
jvejr/resolver-context-type-optional-subtype

Conversation

@vejrj
Copy link
Contributor

@vejrj vejrj commented Jun 6, 2025

Newly accept optional parameter

  {
     baseContextTypePath: "@package/default-context",
      baseContextTypeName: "DefaultContextType",
      contextTypes: {
        managers: {
          user: {
            importNamespaceName: "UserStateMachineType",
            importPath: "@package/user-state-machine",
            typeName: 'UserStateMachineType["user"]',
          },
          optionalWhatever: {
            importPath: "@package/whatever-state-machine",
            typeName: "optionalWhatever",
            optional: true,
          },
} }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant